import os

# 项目工作目录
WorkPath = os.path.dirname(os.path.abspath(__file__)) + '/'
LogFilePath_assignment = WorkPath + 'assignment.log'
LogFilePath_exec = WorkPath + 'exec.log'
# 本地源数据存放路径
# LocalDataRootPath = WorkPath + 'database/'

LocalDataRootPath = "H:/KylinServerRepo/"


# 服务器外网源地址
server_version = {
    "v10sp2_x86_64": ["https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/base/x86_64/",
                     "https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/"],
    "v10sp2_arm64": ["https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/base/aarch64/",
                    "https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/"],
    "v10sp3_x86_64": ["https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/base/x86_64/",
                     "https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/updates/x86_64/"],
    "v10sp3_arm64": ["https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/base/aarch64/",
                    "https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/updates/aarch64/"],
    "v10sp3-2403_arm64": ["https://update.cs2c.com.cn/NS/V10/V10SP3-2403/os/adv/lic/base/aarch64/",
                     "https://update.cs2c.com.cn/NS/V10/V10SP3-2403/os/adv/lic/updates/aarch64/"],
    "v10sp3-2403_x86_64": ["https://update.cs2c.com.cn/NS/V10/V10SP3-2403/os/adv/lic/base/x86_64/",
                          "https://update.cs2c.com.cn/NS/V10/V10SP3-2403/os/adv/lic/updates/x86_64/"],
    "v10sp1_8U2_x86": ["https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS/x86_64/",
                     "https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/"],
    "v10sp1_8U2_arm64": ["https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS/aarch64/",
                       "https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/"]
}